from dataclasses import dataclass
from pathlib import Path
from typing import Optional, List, Dict, Any

@dataclass
class ParseSqlOptions:
    """SQL解析选项"""
    source_file: str
    target: Optional[str] = None
    indent: int = 2
    dry_run: bool = False

@dataclass
class ParseSqlResult:
    """SQL解析结果"""
    success: bool
    message: str
    data: Optional[Dict[str, Any]] = None
    errors: Optional[List[str]] = None